package edu.sctu.liangyuxiang.day20150619;

import java.util.HashMap;

/**
 * Created by user20 on 2015/6/19.
 */
public class UrlConnectionMain {
    public static void main(String[] args) throws Exception {
        Path path = new Path();
        HashMap<String, String> map = path.path();
        String s = null;
        s = "username"+"="+map.get("username");
        UrlConnection url = new UrlConnection();
        url.urlConnectionGet(path.URL);
        url.urlConnectionPost(path.URL,s);
    }
}
